﻿using Entity;
using Entity.Front_Desk;
using Entity.ResultModel.Menu;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IHotelBLL.IEmployeeBLL
{
    public interface IMenuBLL
    {
        public bool EditMenu(string id, string description, string title, string href, string parentId, int level, string icon, string target, int sort, out string msg);
        public bool DeleteMenu(string id, out string msg);
        public bool AddMenu(MenuInfo menu, out string msg);
        public List<GetMenuInfo> GetMenuInfos(int page, int limit, out int count);
        public List<MenuModel> GetMenuInfos(string userId);
        public List<SelectOptionModel> GetMenuOptions(string menuId);
        public MenuInfo GetMenuInfoById(string id);
    }
}
